package com.muyu.danmo.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 个人信息相关星图对象 danmo_information_map
 *
 * @author kunzong
 * @date 2024-11-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoInformationMap implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 相关星图ID
     */
    private Long id;

    /**
     * 个人信息ID
     */
    @Excel(name = "个人信息ID")
    private Long informationId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String picture;

    /**
     * 个人简介
     */
    @Excel(name = "个人简介")
    private String profile;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量")
    private Long mapTitleId;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    @TableField(exist = false)
    private Integer pageNum = 1;
    @TableField(exist = false)
    private Integer pageSize = 10;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("informationId", getInformationId())
                .append("name", getName())
                .append("picture", getPicture())
                .append("profile", getProfile())
                .append("mapTitleId", getMapTitleId())
                .append("title", getTitle())
                .toString();
    }
}
